package com.ruoyi.basedata.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

import com.ruoyi.basedata.domain.RealtimegatherdataXbView;

/**
 * 小表实时数据视图Mapper接口
 *
 * @author gdqt
 * @date 2024-03-18
 */
public interface RealtimegatherdataXbViewMapper extends BaseMapper<RealtimegatherdataXbView> {
    /**
     * 查询小表实时数据视图
     *
     * @param tenantId 小表实时数据视图主键
     * @return 小表实时数据视图
     */
    public RealtimegatherdataXbView selectRealtimegatherdataXbViewByTenantId(String tenantId);

    /**
     * 查询小表实时数据视图列表
     *
     * @param realtimegatherdataXbView 小表实时数据视图
     * @return 小表实时数据视图集合
     */
    public List<RealtimegatherdataXbView> selectRealtimegatherdataXbViewList(RealtimegatherdataXbView realtimegatherdataXbView);

    /**
     * 新增小表实时数据视图
     *
     * @param realtimegatherdataXbView 小表实时数据视图
     * @return 结果
     */
    public int insertRealtimegatherdataXbView(RealtimegatherdataXbView realtimegatherdataXbView);

    /**
     * 修改小表实时数据视图
     *
     * @param realtimegatherdataXbView 小表实时数据视图
     * @return 结果
     */
    public int updateRealtimegatherdataXbView(RealtimegatherdataXbView realtimegatherdataXbView);

    /**
     * 删除小表实时数据视图
     *
     * @param tenantId 小表实时数据视图主键
     * @return 结果
     */
    public int deleteRealtimegatherdataXbViewByTenantId(String tenantId);

    /**
     * 批量删除小表实时数据视图
     *
     * @param tenantIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteRealtimegatherdataXbViewByTenantIds(String[] tenantIds);
}
